You are here: Symbol Reference > Dew Namespace > Dew.Math Namespace > Classes > TVec Class > TVec Methods > Ramp Method > TVec.Ramp Method ([In] TCplx, [In] TCplx, int, int)
Dew Math for .NET
ContentsIndexHome
PreviousUpNext
TVec.Ramp Method ([In] TCplx, [In] TCplx, int, int)

Fills the calling vector elements [Index]..[Index+Len-1].

Syntax
C#
Visual Basic
public TVec Ramp([In] TCplx Offset, [In] TCplx Step, int Index, int Len);

Following the rule: 

 

Values[k] := Offset + k*Step.

 

If the calling vector is complex, only the real part is set. An exception is raised if array borders of the calling vector are overrun.

Copyright (c) 1999-2024 by Dew Research. All rights reserved.
What do you think about this topic? Send feedback!